package com.mall4jcola.cloud.api;

import com.alibaba.cola.dto.SingleResponse;
import com.mall4jcola.cloud.dto.UserAuthsVerifyQry;
import com.mall4jcola.cloud.dto.data.UserAuthsTokenDTO;

/**
 * 登录认证服务
 * @author hmxchen
 */
public interface UserAuthsServiceI {
    /**
     * TODO
     * 验证账号，验证成功后返回加密过的token
     * @param query 认证请求体
     * @author hmxchen
     * @date 2022/7/31 22:41
     * @return 加密后的token信息
     */
    SingleResponse<UserAuthsTokenDTO> authAccount(UserAuthsVerifyQry query);
}
